-- GENERATED SPELL FOR [Landro Longshot] --


function spell0_17249(pUnit, Event) --@Upper Deck - Bear Mount,n/a--
pUnit:FullCastSpellOnTarget(51495,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17249', 539, 1)
end

function Sorts_17249(pUnit, Event)
local choix_sorts_17249 = math.random(0, 0)
if choix_sorts_17249 == 0 then
pUnit:RegisterEvent('spell0_17249', 1, 1)
end
end

function mob17249_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17249', math.random(1500, 3000), 1)
end

function mob17249_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17249_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17249_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17249, 1, 'mob17249_Action')
RegisterUnitEvent(17249, 2, 'mob17249_Leave')
RegisterUnitEvent(17249, 3, 'mob17249_Kill')
RegisterUnitEvent(17249, 4, 'mob17249_Die')
